package com.szpx.entity;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "member")
public class Member {
    @Id
    private Integer id;
    private String name;
    private String email;
    // 省略getter和setter

        // Getter方法·
        public Integer getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getEmail() {
            return email;
        }

        // Setter方法
        public void setId(Integer id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setEmail(String email) {
            this.email = email;
        }
    }


